90312: xfi:fact-typed-dimensions

Documentation

Owners

Name Affiliation Email Start End
Wojciech Diakowski Fingo wojtekd@fingo.pl 07-06-2012 at 00:00:00

References

function definition

Test Case Variations


V-01 Test height dimension for Mount Kilimanjaro for Mount Kilimanjaro

Documentation

Inputs

Outputs

  • Result test: $result instance of xs:QName* and count( $result ) eq 1 and $result eq QName('http://xbrl.org/formula/conformance/example','t:HeightDimension')

V-02 Height dimension for pre-eruption volcano (whose hypercube lacks the location dimension because the volcano is not erupted yet, but it has alternate link roles allowing height to be added later after erupting)

Documentation

Inputs

Outputs

  • Result test: empty( $result )

V-03 Height dimension for SpacePhenomenon concept Wormhole (whose hypercube for space warping can never have the height dimension)

Documentation

Inputs

Outputs

  • Result test: empty( $result )

V-04 Dimension can be located in either segment or scenario, for this variation appears in the segment.

Documentation

Inputs

Outputs

  • Result test: $result instance of xs:QName? and count( $result ) eq 1 and $result eq QName('http://xbrl.org/formula/conformance/example','t:TypedDim1')

V-05 Dimension can be located in either segment or scenario but for this variation appears in the scenario instead of segment, to test that function is looking in either location for value.

Documentation

Inputs

Outputs

  • Result test: $result instance of xs:QName? and count( $result ) eq 1 and $result eq QName('http://xbrl.org/formula/conformance/example','t:TypedDim1')

V-06 Test no dimensions for fact.

Documentation

Inputs

Outputs

  • Result test: empty( $result )

V-07 Wrong node to function

Documentation

XPath-defined error for node type incorrect.

Inputs

Outputs

  • Error code: xqt-err:XPTY0004

V-08 A sequence of items as argument

Documentation

XPath-defined error for node type incorrect arity of arguments.

Inputs

Outputs

  • Error code: xqt-err:XPTY0004

Revisions

Name On Details
Wojciech Diakowski 07-06-2012 at 00:00:00 Created the test case.